<%@ page session="true" %>
<%-- 
    Document   : menu
    Created on : 06-ene-2010, 20:27:05
    Author     : joaquin
--%>

<%
            String usuario = "";
            HttpSession sesionOk = request.getSession();
            if (sesionOk.getAttribute("usuario") != null) {
%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Menu de administraci&oacute;n del sistema S3GLS</title>
    </head>
    <body>
        <h1>Menu para generar documentos en PDF</h1>
    <tr>
        <td>Generar lista de empleados: </td>
        <td>
            <form method="post" id="generarPDF" name="generarPDF" action="generarPDF.jsp">
                <input type="submit" id="PDF" name="PDF" />
            </form>
        </td>
    </tr>
    <br />
    <form method="post" id="cerrarSesion" name="cerrarSesion" action="cerrarSesion.jsp">
        <input type="submit" id="subCS" name="subCS" value="Cerrar sesion" />
    </form>
</body>
</html>

<%            } else {
%>
<jsp:forward page="index.jsp" />
<%                            }
%>
